package com.paddyi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.paddyi.model.Resource;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * 资源 (Resource)
 *
 * @author paddy
 * @since 2019-04-26 04:34:10
 */
@Service
public interface IResourceService extends IService<Resource> {
    List<Resource> selectResourceTreeByLoginName(List<Long> roleIds);
    Set<String> selectResourceButtonByLoginName(List<Long> roleIds);
    List<Resource> findTree();
    List<Resource> findResourceByRoleId(Long roleId);

}
